home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 15: Shareware / PC Actual CDT 15.iso / files / Windows_95_98 / Programacion / ActiveX / NCTWavPlayer.exe / Main / nctwavplayer.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-03-06  |  5.9 KB  |  194 lines

  1. #if !defined(AFX_NCTWAVPLAYER_H__01A573C1_D19C_11D3_8F38_000021C58FC3__INCLUDED_)
  2. #define AFX_NCTWAVPLAYER_H__01A573C1_D19C_11D3_8F38_000021C58FC3__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8.  
  9. // NOTE: Do not modify the contents of this file.  If this class is regenerated by
  10. //  Microsoft Visual C++, your modifications will be overwritten.
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CNCTWavPlayer wrapper class
  14.  
  15. class CNCTWavPlayer : public CWnd
  16. {
  17. protected:
  18.     DECLARE_DYNCREATE(CNCTWavPlayer)
  19. public:
  20.     CLSID const& GetClsid()
  21.     {
  22.         static CLSID const clsid
  23.             = { 0xcdde893b, 0x1457, 0x11d3, { 0x99, 0x6a, 0x8, 0x0, 0x35, 0x0, 0x8, 0x42 } };
  24.         return clsid;
  25.     }
  26.     virtual BOOL Create(LPCTSTR lpszClassName,
  27.         LPCTSTR lpszWindowName, DWORD dwStyle,
  28.         const RECT& rect,
  29.         CWnd* pParentWnd, UINT nID,
  30.         CCreateContext* pContext = NULL)
  31.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32.  
  33.     BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34.         const RECT& rect, CWnd* pParentWnd, UINT nID,
  35.         CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36.         BSTR bstrLicKey = NULL)
  37.     { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38.         pPersist, bStorage, bstrLicKey); }
  39.  
  40. // Attributes
  41. public:
  42.     long GetWFormatTag();
  43.     void SetWFormatTag(long);
  44.     long GetNChannels();
  45.     void SetNChannels(long);
  46.     long GetNSamplesPerSec();
  47.     void SetNSamplesPerSec(long);
  48.     long GetNAvgBytesPerSec();
  49.     void SetNAvgBytesPerSec(long);
  50.     long GetNBlockAlign();
  51.     void SetNBlockAlign(long);
  52.     long GetWBitsPerSample();
  53.     void SetWBitsPerSample(long);
  54.     long GetNSamples();
  55.     void SetNSamples(long);
  56.     long GetStereoChannel();
  57.     void SetStereoChannel(long);
  58.     BOOL GetVisibleGridX();
  59.     void SetVisibleGridX(BOOL);
  60.     BOOL GetVisibleGridY();
  61.     void SetVisibleGridY(BOOL);
  62.     long GetValue();
  63.     void SetValue(long);
  64.     long GetStartPos();
  65.     void SetStartPos(long);
  66.     long GetEndPos();
  67.     void SetEndPos(long);
  68.     BOOL GetSelected();
  69.     void SetSelected(BOOL);
  70.     long GetStartShowPos();
  71.     void SetStartShowPos(long);
  72.     long GetEndShowPos();
  73.     void SetEndShowPos(long);
  74.     long GetRightScaleType();
  75.     void SetRightScaleType(long);
  76.     long GetBottomScaleType();
  77.     void SetBottomScaleType(long);
  78.     BOOL GetVisibleRightScale();
  79.     void SetVisibleRightScale(BOOL);
  80.     BOOL GetVisibleBottomScale();
  81.     void SetVisibleBottomScale(BOOL);
  82.     BOOL GetUndoEnable();
  83.     void SetUndoEnable(BOOL);
  84.     BOOL GetRedoEnable();
  85.     void SetRedoEnable(BOOL);
  86.     long GetPlayPos();
  87.     void SetPlayPos(long);
  88.     long GetGain();
  89.     void SetGain(long);
  90.     long GetVolume();
  91.     void SetVolume(long);
  92.     long GetVolumeBalance();
  93.     void SetVolumeBalance(long);
  94.     BOOL GetAutoGainControl();
  95.     void SetAutoGainControl(BOOL);
  96.     short GetDevInput();
  97.     void SetDevInput(short);
  98.     CString GetDevInputName();
  99.     void SetDevInputName(LPCTSTR);
  100.     short GetDevOutput();
  101.     void SetDevOutput(short);
  102.     CString GetDevOutputName();
  103.     void SetDevOutputName(LPCTSTR);
  104.     short GetDevInputMax();
  105.     void SetDevInputMax(short);
  106.     short GetDevOutputMax();
  107.     void SetDevOutputMax(short);
  108.     OLE_HANDLE GetHWnd();
  109.     void SetHWnd(OLE_HANDLE);
  110.     CString GetTempDirectory();
  111.     void SetTempDirectory(LPCTSTR);
  112.     long GetTotalAvailableFreeSpace();
  113.     void SetTotalAvailableFreeSpace(long);
  114.     BOOL GetClearClipboardBeforeExit();
  115.     void SetClearClipboardBeforeExit(BOOL);
  116.     long GetUndoRedoCount();
  117.     void SetUndoRedoCount(long);
  118.     unsigned long GetClrAnalogWaveform();
  119.     void SetClrAnalogWaveform(unsigned long);
  120.     unsigned long GetClrBackground();
  121.     void SetClrBackground(unsigned long);
  122.     unsigned long GetClrCenterLine();
  123.     void SetClrCenterLine(unsigned long);
  124.     unsigned long GetClrCursor();
  125.     void SetClrCursor(unsigned long);
  126.     unsigned long GetClrDigitalWaveform();
  127.     void SetClrDigitalWaveform(unsigned long);
  128.     unsigned long GetClrGrid();
  129.     void SetClrGrid(unsigned long);
  130.     unsigned long GetClrPlayCursor();
  131.     void SetClrPlayCursor(unsigned long);
  132.     unsigned long GetClrSelectedAnalogWaveform();
  133.     void SetClrSelectedAnalogWaveform(unsigned long);
  134.     unsigned long GetClrSelectedBackground();
  135.     void SetClrSelectedBackground(unsigned long);
  136.     unsigned long GetClrSelectedCenterLine();
  137.     void SetClrSelectedCenterLine(unsigned long);
  138.     unsigned long GetClrSelectedDigitalWaveform();
  139.     void SetClrSelectedDigitalWaveform(unsigned long);
  140.     BOOL GetFlgEndRecordBlock();
  141.     void SetFlgEndRecordBlock(BOOL);
  142.     BOOL GetFlgSelectedPlay();
  143.     void SetFlgSelectedPlay(BOOL);
  144.     CString GetFormatString();
  145.     void SetFormatString(LPCTSTR);
  146.  
  147. // Operations
  148. public:
  149.     long Amplify(short Amplification);
  150.     long ContinuePlay();
  151.     long Full();
  152.     long ZoomIn();
  153.     long ZoomOut();
  154.     long PausePlay();
  155.     long Play();
  156.     long Silence();
  157.     float SamplToSec(long Pos);
  158.     long Cut();
  159.     long Copy();
  160.     long Paste();
  161.     long Stop();
  162.     long SaveSelect(LPCTSTR fileName);
  163.     long PasteFromFile(LPCTSTR fileName);
  164.     long Invert();
  165.     long Undo();
  166.     long Redo();
  167.     long Echo(long Delay, long Magnitude);
  168.     long Mix(long AmplifySelect, long AmplifyPaste);
  169.     long MixFromFile(LPCTSTR fileName, long AmplifySelect, long AmplifyPaste);
  170.     long Normalize(long Magnitude);
  171.     long Fade(short StartAmplify, short EndAmplify);
  172.     long Reverse();
  173.     long CopyToClipboard();
  174.     long PasteFromClipboard();
  175.     long Stretch(short Percent);
  176.     long Close();
  177.     long Save(LPCTSTR fileName);
  178.     void Repaint();
  179.     CString GetDataString();
  180.     long PutDataString(LPCTSTR Str);
  181.     long ConvertLikeSample(LPCTSTR fileName);
  182.     long ConvertFromMenu();
  183.     long InsertSilence(long ms);
  184.     long New(long SamplesPerSec, long nChannels);
  185.     long Record();
  186.     long Zoom(long StartPos, long EndPos);
  187.     long Open(LPCTSTR fileName);
  188. };
  189.  
  190. //{{AFX_INSERT_LOCATION}}
  191. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  192.  
  193. #endif // !defined(AFX_NCTWAVPLAYER_H__01A573C1_D19C_11D3_8F38_000021C58FC3__INCLUDED_)
  194.